<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>CSS样式表</title>
    <style type="text/css">
        .e1 {text-align: center;height: 40px;color: palevioletred;}
    </style>
</head>
<body>
    <p>1. <input type="text" style="background: cornsilk;color: peru"></p>
    <p>2. <input type="text" class="e1"></p>
    <p>3. <input type="text" class="e1"></p>
</body>
</html>